]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: Consider events that release the grab handled
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 22 Mar 2013 18:21:04 +0000 (19:21 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 25 Mar 2013 09:43:29 +0000 (10:43 +0100)
commitf8ea825577e43cdd1ae816509de7e69d1cd083e8
treef244cb5aacfde3a3fcb8aa818943143ff6015565
parentf77ad7d18417535ff6555d7578c78d02363cfe4d
grabHelper: Consider events that release the grab handled

Currently, if a button-press event results in releasing the last modal
grab (e.g. clicks outside the grabbed actors), we don't consider the
event handled and allow its emission to continue. If we consider
dismissing a grab as an action of its own, any additional action
triggered by the same event becomes an unexpected side effect.
Tweak the capture handler accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=696422
js/ui/grabHelper.js